<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

    <!-- 
        application/x-www-form-urlencoded:表单编码格式为键值对格式
        multipart/form-data:流媒体格式，这样能把用户选择的要上传的文件内容(文件本身)发送到服务器
     -->
<form action="/zhuceaction" method="post" enctype="multipart/form-data">
    <div>帐号：<input type="text" name="usr" id="usr" placeholder="请输入帐号"></div>
    <div>密码：<input type="password" name="pwd" id="pwd" placeholder="请输入密码"></div>
    <div>密码：<input type="password" name="pwd2" id="pwd2" placeholder="请输确认密码"></div>
    <div>头像：<input type="file" name="logo" id="logo"></div>
    <div><input type="submit" value="注册"></div>
</form>
</body>
</html>